/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ejb;

import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

/**
 *
 * @author alexcarpentieri
 */
@Stateless
public class CassiereFacade extends AbstractFacade<Cassiere> implements CassiereFacadeLocal {
    @PersistenceContext(unitName ="SuperPointCardProject-ejbPU")
    private EntityManager em;
    public CassiereFacade(){
        super(Cassiere.class);
    }
    
    @Override
    protected EntityManager getEntityManager() {
        return em;
    }

    // Add business logic below. (Right-click in editor and choose
    // "Insert Code > Add Business Method")

    @Override
    protected String getBeanName() {
        return "Cassiere";
    }
    
}
